﻿<!Doctype html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta name="apple-touch-fullscreen" content="yes" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
    <script>
        !function () {
            var cw = document.documentElement.clientWidth || document.body.clientWidth, zoom = cw / 320;
            if (cw > 640) zoom = 2;
            document.write('<style id="htmlzoom">html{ font-size:' + (zoom * 50) + 'px; }</style>');
            window.addEventListener('resize', function () {
                cw = document.documentElement.clientWidth || document.body.clientWidth, zoom = cw / 320;
                if (cw > 640) zoom = 2;
                document.getElementById('htmlzoom').innerHTML = 'html{ font-size:' + (zoom * 50) + 'px; }';
            });
        }();

        function preventDefault(e) {
            e.preventDefault();
        }
    </script>
    <link rel="stylesheet" type="text/css" href="/css/base.css?v=1.11" />
  
    @RenderSection("Styles", required: false)
  
    <script src="/js/zepto.min.js"></script>
    <script src="/js/touch.js"></script>
    
</head>
<body>
   
    @RenderBody()
    @if (ViewBag.MenuType != 0)
    {
        Html.RenderPartial("_agent_menu", new { MenuType = ViewBag.MenuType, user_name = ViewBag.user_name });
            
            //.Partial("_agent_menu", (int)ViewBag.MenuType);
    }
    
   
    @RenderSection("Scripts", required: false)
</body>
</html>